import shopapi from '../../utils/request.js'

export function carList(){
    return shopapi({
        url:"/wx/cart/index",
        method:"GET",
        params:{
            
        }
    })
}

export function deleteList(productIds){
    return shopapi({
        url:"/wx/cart/delete",
        method:"Post",
        data:{
            productIds:productIds
        }
    })
}

export function carCheck(cartId,addressId,couponId,userCouponId,grouponRulesId){
    return shopapi({
        url:"/wx/cart/checkout",
        method:"GET",
        params:{
            cartId,
            addressId,
            couponId,
            userCouponId,
            grouponRulesId
        }
    })
}